import {SAVE_MACHINE_LISTS, SAVE_MACHINE_WHOLE_TIME_STATUS, SAVE_MACHINE_WORK_STATUS, SAVE_NAVIGATION_INDEX} from "./constants";

export const saveMachineLists = machineLists => ({
  type: SAVE_MACHINE_LISTS,
  machineLists
});

export const saveNavigationIndex = navigationIndex => ({
  type: SAVE_NAVIGATION_INDEX,
  navigationIndex
});

export const saveMachineWholeTimeStatus = machineWholeTimeStatus => ({
  type: SAVE_MACHINE_WHOLE_TIME_STATUS,
  machineWholeTimeStatus
});

export const saveMachineWorkStatus = machineWorkStatus => ({
  type: SAVE_MACHINE_WORK_STATUS,
  machineWorkStatus
});


